home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / porttool.zip / CP.MAN < prev    next >
Text File  |  1992-12-03  |  2KB  |  50 lines

  1.  
  2.    NNAAMMEE
  3.       cp - copy files
  4.  
  5.    SSYYNNOOPPSSIISS
  6.       ccpp [ -hipnv ] _f_i_l_e_1 _f_i_l_e_2
  7.       ccpp [ -hiprnv ] _f_i_l_e ... _d_i_r_e_c_t_o_r_y
  8.  
  9.       In the first form _f_i_l_e_1 is copied to _f_i_l_e_2.
  10.  
  11.       In the second form one or more files are copied into the specified
  12.       directory, retaining their original names.
  13.  
  14.    DDEESSCCRRIIPPTTIIOONN
  15.       ccpp copies files.  ccpp copies one file to another file, or one or
  16.       more files to another directory.  The files being copied are not
  17.       destroyed.
  18.  
  19.       When _f_i_l_e_1 is copied to _f_i_l_e_2 and  _f_i_l_e_2 already exists, _f_i_l_e_2's
  20.       contents are erased and _f_i_l_e_1 is then copied into _f_i_l_e_2.  _f_i_l_e_2's
  21.       visibility modes (System or Hidden bits) are preserved.
  22.  
  23.       When _f_i_l_e_1 is copied to _f_i_l_e_2 and _f_i_l_e_2 does not exist, _f_i_l_e_2 is
  24.       created with the default visibility modes (not System and not
  25.       Hidden).  _f_i_l_e_1 is then copied to _f_i_l_e_2.  _f_i_l_e_2 is then set with
  26.       _f_i_l_e_1's access modes.
  27.  
  28.    OOPPTTIIOONNSS
  29.       --hh       Display a short help message.
  30.  
  31.       --ii       Prompt the user with the name of the file whenever the
  32.                copy will cause an existing file to be overwritten.
  33.                Giving a yy in response causes ccpp to continue.  Any other
  34.                response prevents overwriting the file.
  35.  
  36.       --pp       Preserve date stamps and access modes.
  37.  
  38.       --rr or --RR When any source files are directories, ccpp copies each
  39.                subtree rooted at that name; the destination must be a
  40.                directory.
  41.  
  42.       --nn       Copy newer files only.  Prevents existing files from being
  43.                overwritten by older or equal files.  Note that only the
  44.                timestamp is checked, and not the file size or contents.
  45.  
  46.       --vv       Announce the names of the source and destination files as
  47.                they are copied.
  48.  
  49.    CCooppyyrriigghhtt  ((cc))  FFrraannkk  WWhhaalleeyy  11999922..    AAllll  rriigghhttss  rreesseerrvveedd
  50.